package com.ms.p2p.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ms.common.exception.NoticeException;
import com.ms.p2p.entity.system.Dictionary;
import com.ms.p2p.provider.DictionaryProvider;
import com.ms.p2p.provider.IdCardQueryProvider;
import com.ms.p2p.service.impl.DictionaryServiceImpl;
import com.ms.p2p.service.impl.IdCardQueryServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * Created by JZL on 2018/3/14 实名认证接口.
 */
@Service
public class IdCardQueryProviderImpl implements IdCardQueryProvider {
    @Autowired
    IdCardQueryServiceImpl idCardQueryService;

    public boolean idCardQuery(String idCard, String realName) throws NoticeException,UnsupportedEncodingException {
        return idCardQueryService.idCardQuery(idCard,realName);
    }
}
